﻿using SIMS.Shared.Models;
using SIMS.SqlSugarWebApi.Models;

namespace SIMS.SqlSugarWebApi.ServiceInterface
{
    public interface IUserService : IBaseService<User>
    {
        public Task<PagingModel<User>> GetUsers(string userName, int pageNum, int pageSize);

        public PagingModel<UserRole> GetUserRoles(int? userId);

        public Task<int> SetUserRoles(int userId, string roleIds);
    }
}
